<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>yLib: yLib::yLinearList&lt; T, Alloc &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">yLib
   &#160;<span id="projectnumber">V0.0.9 beta</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classyLib_1_1yLinearList.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classyLib_1_1yLinearList-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">yLib::yLinearList&lt; T, Alloc &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="ylinear__list_8hpp_source.html">ylinear_list.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for yLib::yLinearList&lt; T, Alloc &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classyLib_1_1yLinearList.png" usemap="#yLib::yLinearList_3C_20T_2C_20Alloc_20_3E_map" alt=""/>
  <map id="yLib::yLinearList_3C_20T_2C_20Alloc_20_3E_map" name="yLib::yLinearList_3C_20T_2C_20Alloc_20_3E_map">
<area href="classyLib_1_1yObject.html" title="This is base-class of the all object in yLib." alt="yLib::yObject" shape="rect" coords="0,0,173,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a0cbeaf3a7ba4fce70c860b10dacef240"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yLinearList.html#a0cbeaf3a7ba4fce70c860b10dacef240">yLinearListOrderType</a> : uint8_t { <a class="el" href="classyLib_1_1yLinearList.html#a0cbeaf3a7ba4fce70c860b10dacef240a6d7038ad4f19edecbba24ae2d378c4cc">TYPE_DSC_ORDER</a> = 0, 
<a class="el" href="classyLib_1_1yLinearList.html#a0cbeaf3a7ba4fce70c860b10dacef240a27bf761c992e5c3a8cc248a886668b3e">TYPE_ASC_ORDER</a> = 1
 }</td></tr>
<tr class="separator:a0cbeaf3a7ba4fce70c860b10dacef240"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4c25c084820637bedfab57b4c344bfd3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yLinearList.html#a4c25c084820637bedfab57b4c344bfd3">yLinearList</a> ()=delete</td></tr>
<tr class="separator:a4c25c084820637bedfab57b4c344bfd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2354cbdaca00f34d609e2aec4676fba"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yLinearList.html#ac2354cbdaca00f34d609e2aec4676fba">yLinearList</a> (size_t element_num_) \</td></tr>
<tr class="separator:ac2354cbdaca00f34d609e2aec4676fba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8ba6e32c7f443e43964509bfb653222"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yLinearList.html#ac8ba6e32c7f443e43964509bfb653222">~yLinearList</a> ()</td></tr>
<tr class="separator:ac8ba6e32c7f443e43964509bfb653222"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18e301dc86db29dcd7035c5b7f1c9b7c"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yLinearList.html#a18e301dc86db29dcd7035c5b7f1c9b7c">sq_insert</a> (size_t pos_, T &amp;value_)</td></tr>
<tr class="separator:a18e301dc86db29dcd7035c5b7f1c9b7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae78f3768f44151f72e0cc1b6ef53ab81"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yLinearList.html#ae78f3768f44151f72e0cc1b6ef53ab81">sq_delete</a> (T &amp;value_)</td></tr>
<tr class="separator:ae78f3768f44151f72e0cc1b6ef53ab81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e726f2c87a442a9ffbfb7a00b5cea34"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classyLib_1_1yLinearList.html">yLinearList</a>&lt; T, Alloc &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yLinearList.html#a2e726f2c87a442a9ffbfb7a00b5cea34">operator=</a> (const <a class="el" href="classyLib_1_1yLinearList.html">yLinearList</a>&lt; T, Alloc &gt; &amp;sq_) const</td></tr>
<tr class="separator:a2e726f2c87a442a9ffbfb7a00b5cea34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa46154cb1d971b9e1384f692e1ea75f2"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yLinearList.html#aa46154cb1d971b9e1384f692e1ea75f2">sq_merge</a> (const <a class="el" href="classyLib_1_1yLinearList.html">yLinearList</a>&lt; T, Alloc &gt; &amp;sq0_, const <a class="el" href="classyLib_1_1yLinearList.html">yLinearList</a>&lt; T, Alloc &gt; &amp;sq1_, <a class="el" href="classyLib_1_1yLinearList.html#a0cbeaf3a7ba4fce70c860b10dacef240">yLinearListOrderType</a> order_type_)</td></tr>
<tr class="separator:aa46154cb1d971b9e1384f692e1ea75f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2da8013972026720036b479b468d6093"><td class="memItemLeft" align="right" valign="top">T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yLinearList.html#a2da8013972026720036b479b468d6093">sq_get_value</a> (uint64_t val_pos_) const</td></tr>
<tr class="separator:a2da8013972026720036b479b468d6093"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f16f109147bbea12465916d3cfd5d4d"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yLinearList.html#a6f16f109147bbea12465916d3cfd5d4d">sq_get_size</a> (void) const</td></tr>
<tr class="separator:a6f16f109147bbea12465916d3cfd5d4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb23195dea33493df8949aa02efe5aa0"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yLinearList.html#afb23195dea33493df8949aa02efe5aa0">sq_get_capacity</a> (void) const</td></tr>
<tr class="separator:afb23195dea33493df8949aa02efe5aa0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classyLib_1_1yObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classyLib_1_1yObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classyLib_1_1yObject.html">yLib::yObject</a></td></tr>
<tr class="memitem:a4f7523f70c3832ac47812ca5d366adca inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a4f7523f70c3832ac47812ca5d366adca">yObject</a> ()</td></tr>
<tr class="memdesc:a4f7523f70c3832ac47812ca5d366adca inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="classyLib_1_1yObject.html#a4f7523f70c3832ac47812ca5d366adca">More...</a><br /></td></tr>
<tr class="separator:a4f7523f70c3832ac47812ca5d366adca inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e54fc8334031b969dbc4a4d45c489b3 inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a0e54fc8334031b969dbc4a4d45c489b3">yObject</a> (<a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a> object_name_)</td></tr>
<tr class="memdesc:a0e54fc8334031b969dbc4a4d45c489b3 inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override constructor.  <a href="classyLib_1_1yObject.html#a0e54fc8334031b969dbc4a4d45c489b3">More...</a><br /></td></tr>
<tr class="separator:a0e54fc8334031b969dbc4a4d45c489b3 inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94c1477907a7d2cad4ee2ad321ba571a inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a94c1477907a7d2cad4ee2ad321ba571a">yObject</a> (const <a class="el" href="classyLib_1_1yObject.html">yObject</a> &amp;object_)=delete</td></tr>
<tr class="memdesc:a94c1477907a7d2cad4ee2ad321ba571a inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="classyLib_1_1yObject.html#a94c1477907a7d2cad4ee2ad321ba571a">More...</a><br /></td></tr>
<tr class="separator:a94c1477907a7d2cad4ee2ad321ba571a inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bdd44e891dc768a9a414618756818fd inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classyLib_1_1yObject.html">yObject</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a5bdd44e891dc768a9a414618756818fd">operator=</a> (const <a class="el" href="classyLib_1_1yObject.html">yObject</a> &amp;object_)=delete</td></tr>
<tr class="memdesc:a5bdd44e891dc768a9a414618756818fd inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment constructor.  <a href="classyLib_1_1yObject.html#a5bdd44e891dc768a9a414618756818fd">More...</a><br /></td></tr>
<tr class="separator:a5bdd44e891dc768a9a414618756818fd inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a409ebd4dd4b5b5ca41de594eb6a6980b inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a409ebd4dd4b5b5ca41de594eb6a6980b">yObject</a> (const <a class="el" href="classyLib_1_1yObject.html">yObject</a> &amp;&amp;object_)=delete</td></tr>
<tr class="memdesc:a409ebd4dd4b5b5ca41de594eb6a6980b inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move constructor.  <a href="classyLib_1_1yObject.html#a409ebd4dd4b5b5ca41de594eb6a6980b">More...</a><br /></td></tr>
<tr class="separator:a409ebd4dd4b5b5ca41de594eb6a6980b inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0aebad488c9d1f92f89f3074a23a3f90 inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classyLib_1_1yObject.html">yObject</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a0aebad488c9d1f92f89f3074a23a3f90">operator=</a> (const <a class="el" href="classyLib_1_1yObject.html">yObject</a> &amp;&amp;object_)=delete</td></tr>
<tr class="memdesc:a0aebad488c9d1f92f89f3074a23a3f90 inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment constructor.  <a href="classyLib_1_1yObject.html#a0aebad488c9d1f92f89f3074a23a3f90">More...</a><br /></td></tr>
<tr class="separator:a0aebad488c9d1f92f89f3074a23a3f90 inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19061becef2eb18430987e9024d92a5b inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a19061becef2eb18430987e9024d92a5b">~yObject</a> ()</td></tr>
<tr class="memdesc:a19061becef2eb18430987e9024d92a5b inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default destructor.  <a href="classyLib_1_1yObject.html#a19061becef2eb18430987e9024d92a5b">More...</a><br /></td></tr>
<tr class="separator:a19061becef2eb18430987e9024d92a5b inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:ae4deeab60e1652f3af742211a824d19d"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yLinearList.html#ae4deeab60e1652f3af742211a824d19d">sq_find_2index_greater_than_size</a> (size_t size_)</td></tr>
<tr class="separator:ae4deeab60e1652f3af742211a824d19d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b78644bb6caaa97769a0d0b1953f659"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yLinearList.html#a0b78644bb6caaa97769a0d0b1953f659">check_capacity_and_alloc_mem_by_element_num</a> (size_t element_num_)</td></tr>
<tr class="separator:a0b78644bb6caaa97769a0d0b1953f659"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a9809aea29244a14b4e9b6d7f3703adcd"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yLinearList.html#a9809aea29244a14b4e9b6d7f3703adcd">sq_size</a> = 0</td></tr>
<tr class="separator:a9809aea29244a14b4e9b6d7f3703adcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a2906c7289d2ff0d159a1ec47d72bef"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yLinearList.html#a9a2906c7289d2ff0d159a1ec47d72bef">sq_capacity</a> = 0</td></tr>
<tr class="separator:a9a2906c7289d2ff0d159a1ec47d72bef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55ed3d89e1a7acc5b70ad8c08abb8f1c"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yLinearList.html#a55ed3d89e1a7acc5b70ad8c08abb8f1c">sq_element_size</a> = 0</td></tr>
<tr class="separator:a55ed3d89e1a7acc5b70ad8c08abb8f1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71b4481be545af98ff9d3fbbbd7dad2a"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yLinearList.html#a71b4481be545af98ff9d3fbbbd7dad2a">sq_data_head</a> = nullptr</td></tr>
<tr class="separator:a71b4481be545af98ff9d3fbbbd7dad2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_classyLib_1_1yObject"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classyLib_1_1yObject')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="classyLib_1_1yObject.html">yLib::yObject</a></td></tr>
<tr class="memitem:a2db8b0c6fba5a9137092715442866090 inherit pub_attribs_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top"><a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a2db8b0c6fba5a9137092715442866090">object_name</a></td></tr>
<tr class="memdesc:a2db8b0c6fba5a9137092715442866090 inherit pub_attribs_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">The object-name.  <a href="classyLib_1_1yObject.html#a2db8b0c6fba5a9137092715442866090">More...</a><br /></td></tr>
<tr class="separator:a2db8b0c6fba5a9137092715442866090 inherit pub_attribs_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class T, class Alloc = std::allocator&lt;T&gt;&gt;<br />
class yLib::yLinearList&lt; T, Alloc &gt;</h3>

<p>@description: A implement of linear list,class T must have operator== , operator=, operator&gt; or operator&lt; </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">{type}</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>: </dd></dl>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a0cbeaf3a7ba4fce70c860b10dacef240"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cbeaf3a7ba4fce70c860b10dacef240">&#9670;&nbsp;</a></span>yLinearListOrderType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class Alloc  = std::allocator&lt;T&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classyLib_1_1yLinearList.html#a0cbeaf3a7ba4fce70c860b10dacef240">yLib::yLinearList::yLinearListOrderType</a> : uint8_t</td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a0cbeaf3a7ba4fce70c860b10dacef240a6d7038ad4f19edecbba24ae2d378c4cc"></a>TYPE_DSC_ORDER&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a0cbeaf3a7ba4fce70c860b10dacef240a27bf761c992e5c3a8cc248a886668b3e"></a>TYPE_ASC_ORDER&#160;</td><td class="fielddoc"></td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a4c25c084820637bedfab57b4c344bfd3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c25c084820637bedfab57b4c344bfd3">&#9670;&nbsp;</a></span>yLinearList() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class Alloc  = std::allocator&lt;T&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classyLib_1_1yLinearList.html">yLib::yLinearList</a>&lt; T, Alloc &gt;::<a class="el" href="classyLib_1_1yLinearList.html">yLinearList</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac2354cbdaca00f34d609e2aec4676fba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2354cbdaca00f34d609e2aec4676fba">&#9670;&nbsp;</a></span>yLinearList() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class Alloc  = std::allocator&lt;T&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classyLib_1_1yLinearList.html">yLib::yLinearList</a>&lt; T, Alloc &gt;::<a class="el" href="classyLib_1_1yLinearList.html">yLinearList</a> </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>element_num_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac8ba6e32c7f443e43964509bfb653222"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8ba6e32c7f443e43964509bfb653222">&#9670;&nbsp;</a></span>~yLinearList()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class Alloc  = std::allocator&lt;T&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classyLib_1_1yLinearList.html">yLib::yLinearList</a>&lt; T, Alloc &gt;::~<a class="el" href="classyLib_1_1yLinearList.html">yLinearList</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a0b78644bb6caaa97769a0d0b1953f659"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b78644bb6caaa97769a0d0b1953f659">&#9670;&nbsp;</a></span>check_capacity_and_alloc_mem_by_element_num()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class Alloc  = std::allocator&lt;T&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int8_t <a class="el" href="classyLib_1_1yLinearList.html">yLib::yLinearList</a>&lt; T, Alloc &gt;::check_capacity_and_alloc_mem_by_element_num </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>element_num_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>@description: </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">{type}</td><td>element_num_ is num of elment; </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>: </dd></dl>

</div>
</div>
<a id="a2e726f2c87a442a9ffbfb7a00b5cea34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e726f2c87a442a9ffbfb7a00b5cea34">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class Alloc  = std::allocator&lt;T&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classyLib_1_1yLinearList.html">yLinearList</a>&lt;T, Alloc&gt;&amp; <a class="el" href="classyLib_1_1yLinearList.html">yLib::yLinearList</a>&lt; T, Alloc &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classyLib_1_1yLinearList.html">yLinearList</a>&lt; T, Alloc &gt; &amp;&#160;</td>
          <td class="paramname"><em>sq_</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ae78f3768f44151f72e0cc1b6ef53ab81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae78f3768f44151f72e0cc1b6ef53ab81">&#9670;&nbsp;</a></span>sq_delete()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class Alloc  = std::allocator&lt;T&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int8_t <a class="el" href="classyLib_1_1yLinearList.html">yLib::yLinearList</a>&lt; T, Alloc &gt;::sq_delete </td>
          <td>(</td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>value_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>@description: delete value from linearlist, class T must have operator== and operator= </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">{type}</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>: @analyse: <br  />
 Space-Complexity: O(1)</dd></dl>
<p>Worst time-Complexity: O(n) Best time-Complexity: O(n) Average time-Complexity: O(n) <br  />
 </p>

</div>
</div>
<a id="ae4deeab60e1652f3af742211a824d19d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4deeab60e1652f3af742211a824d19d">&#9670;&nbsp;</a></span>sq_find_2index_greater_than_size()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class Alloc  = std::allocator&lt;T&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="classyLib_1_1yLinearList.html">yLib::yLinearList</a>&lt; T, Alloc &gt;::sq_find_2index_greater_than_size </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>@description: find a num(index of 2) is greater than size_ </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">size_</td><td>is num of bytes. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>: </dd></dl>

</div>
</div>
<a id="afb23195dea33493df8949aa02efe5aa0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb23195dea33493df8949aa02efe5aa0">&#9670;&nbsp;</a></span>sq_get_capacity()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class Alloc  = std::allocator&lt;T&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="classyLib_1_1yLinearList.html">yLib::yLinearList</a>&lt; T, Alloc &gt;::sq_get_capacity </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a6f16f109147bbea12465916d3cfd5d4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f16f109147bbea12465916d3cfd5d4d">&#9670;&nbsp;</a></span>sq_get_size()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class Alloc  = std::allocator&lt;T&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="classyLib_1_1yLinearList.html">yLib::yLinearList</a>&lt; T, Alloc &gt;::sq_get_size </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a2da8013972026720036b479b468d6093"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2da8013972026720036b479b468d6093">&#9670;&nbsp;</a></span>sq_get_value()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class Alloc  = std::allocator&lt;T&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T&amp; <a class="el" href="classyLib_1_1yLinearList.html">yLib::yLinearList</a>&lt; T, Alloc &gt;::sq_get_value </td>
          <td>(</td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>val_pos_</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a18e301dc86db29dcd7035c5b7f1c9b7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a18e301dc86db29dcd7035c5b7f1c9b7c">&#9670;&nbsp;</a></span>sq_insert()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class Alloc  = std::allocator&lt;T&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int8_t <a class="el" href="classyLib_1_1yLinearList.html">yLib::yLinearList</a>&lt; T, Alloc &gt;::sq_insert </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>pos_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>value_</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>@description: insert value to linearlist, class T must have operator= </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname"></td><td><br  />
 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>: @analyse: <br  />
 Space-Complexity: O(1)</dd></dl>
<p>Worst time-Complexity: O(n) Best time-Complexity: O(1) Average time-Complexity: O(n) </p>

</div>
</div>
<a id="aa46154cb1d971b9e1384f692e1ea75f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa46154cb1d971b9e1384f692e1ea75f2">&#9670;&nbsp;</a></span>sq_merge()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class Alloc  = std::allocator&lt;T&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int8_t <a class="el" href="classyLib_1_1yLinearList.html">yLib::yLinearList</a>&lt; T, Alloc &gt;::sq_merge </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classyLib_1_1yLinearList.html">yLinearList</a>&lt; T, Alloc &gt; &amp;&#160;</td>
          <td class="paramname"><em>sq0_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classyLib_1_1yLinearList.html">yLinearList</a>&lt; T, Alloc &gt; &amp;&#160;</td>
          <td class="paramname"><em>sq1_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classyLib_1_1yLinearList.html#a0cbeaf3a7ba4fce70c860b10dacef240">yLinearListOrderType</a>&#160;</td>
          <td class="paramname"><em>order_type_</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>@description: only support ordered Linearlist(same order-type)(ascending order or descending order)</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">{type}</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>: @analyse: <br  />
 Space-Complexity: O(1)</dd></dl>
<p>N=sq0_.sq_get_size() M=sq1_.sq_get_size() Worst time-Complexity: O(M + N) Best time-Complexity: O(Max(M,N)) Average time-Complexity: O(M + N) <br  />
 </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a9a2906c7289d2ff0d159a1ec47d72bef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a2906c7289d2ff0d159a1ec47d72bef">&#9670;&nbsp;</a></span>sq_capacity</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class Alloc  = std::allocator&lt;T&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="classyLib_1_1yLinearList.html">yLib::yLinearList</a>&lt; T, Alloc &gt;::sq_capacity = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a71b4481be545af98ff9d3fbbbd7dad2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71b4481be545af98ff9d3fbbbd7dad2a">&#9670;&nbsp;</a></span>sq_data_head</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class Alloc  = std::allocator&lt;T&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void* <a class="el" href="classyLib_1_1yLinearList.html">yLib::yLinearList</a>&lt; T, Alloc &gt;::sq_data_head = nullptr</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a55ed3d89e1a7acc5b70ad8c08abb8f1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55ed3d89e1a7acc5b70ad8c08abb8f1c">&#9670;&nbsp;</a></span>sq_element_size</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class Alloc  = std::allocator&lt;T&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="classyLib_1_1yLinearList.html">yLib::yLinearList</a>&lt; T, Alloc &gt;::sq_element_size = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a9809aea29244a14b4e9b6d7f3703adcd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9809aea29244a14b4e9b6d7f3703adcd">&#9670;&nbsp;</a></span>sq_size</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class Alloc  = std::allocator&lt;T&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="classyLib_1_1yLinearList.html">yLib::yLinearList</a>&lt; T, Alloc &gt;::sq_size = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/sky/yLib/include/basic_algorithm/<a class="el" href="ylinear__list_8hpp_source.html">ylinear_list.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceyLib.html">yLib</a></li><li class="navelem"><a class="el" href="classyLib_1_1yLinearList.html">yLinearList</a></li>
    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
